package com.gopay.remote.bank;

import com.gopay.common.domain.bank.icbc.ebank.pay.res.PayB2CRes;
import com.gopay.common.domain.bank.icbc.ebank.pay.IcbcB2cMessage;
import com.gopay.common.exception.GopayException;

/**
 * 工行签名/验签接口
 * 
 * @ICertHelperICBC.java
 * @author WangHongFei
 */
public interface ICertHelperIcbcB2c extends ICertHelperIcbc {

	/**
	 * 获得工行所需文件格式
	 * 
	 * @param String
	 * @return String
	 */
	public String getTranData(String plain) throws GopayException;
	
	/**
	 * 工行验签报文转换为对象
	 * 
	 * @param message
	 * @return
	 */
	public PayB2CRes parse(IcbcB2cMessage message) throws GopayException;


}
